/*
@author: user
@date: 2022/6/6 18:25
@Version: 1.0
@last modifined by : 2022/6/6 18:25
@last Modifined time : 2022/6/6 18:25
*/

import React from 'react';
import SForm, { SFields, NForm } from '@C/base/SForm';
import STable from '@C/base/STable';

const OperateText = () => {
  const [useForm] = NForm.useForm();

  return (
    <>
      <SForm
        footerBtnType="search"
        form={useForm}
        autoComplete
        onSubmit={(validate) => {
          console.log('validate: ', validate);
        }}
        // eventBtnConfig={{
        //   hideCancelBtn: true
        // }}
      >
        <SFields.Input name="poetry" label="骚话"/>
      </SForm>
      <STable />
    </>
  );
};

export default OperateText;
